PATH 
Mac OS 8 and 9 Developer Documentation > Text and Other International Services > Apple Type Services for Unicode Imaging (ATSUI) > Apple Type Services for Unicode Imaging Reference

     

ATSUClearStyle

Removes all previously set style run attribute, font feature, and font variation values from a style object.

OSStatus ATSUClearStyle (ATSUStyle iStyle);
iStyle
A reference of type ATSUStyle. Pass a reference to a valid style object whose contents you wish to clear. You cannot pass NULL for this parameter.

function result
A result code. See Result Codes.
DISCUSSION
The ATSUClearStyle function removes all previously set style run, font feature, and font variation values from a style object, including application-defined attributes. It does not remove reference constants.

If you wish to remove only the style run attributes, font features, or font variations from a style object, call the functions ATSUClearAttributes, ATSUClearFontFeatures, and ATSUClearFontVariations, respectively.

VERSION NOTES
Available beginning with ATSUI 1.0.


© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)